<include file="Public:header" />
<script src="__PUBLIC__/style/js/plugins/nice-scroll/jquery.nicescroll.min.js" type="text/javascript"></script>
<script type="text/javascript" src="__PUBLIC__/style/js/TableFreeze.js"></script>
<script src="__PUBLIC__/js/chart/highcharts.js"></script>
<script src="__PUBLIC__/js/chart/modules/exporting.js"></script>
<!--引入audio的css-->
<link rel="stylesheet" href="__PUBLIC__css/audio/_reset.css" />
<link rel="stylesheet" href="__PUBLIC__/css/audio/main.css" />
<link rel="stylesheet" href="__PUBLIC__/css/audio/css?family=Advent+Pro">
<style>
    /*
        PLAYER
    */

    .audioplayer
    {
        height: 2.5em; /* 40 */
        color: #fff;
        text-shadow: 1px 1px 0 #000;
        border: 1px solid #222;
        position: relative;
        z-index: 1;
        background: #333;
    }


    /* mini mode (fallback) */

    .audioplayer-mini
    {
        width: 2.5em; /* 40 */
        margin: 0 auto;
    }


    /* player elements: play/pause and volume buttons, played/duration timers, progress bar of loaded/played */

    .audioplayer > div
    {
        position: absolute;
    }


    /* play/pause button */

    .audioplayer-playpause
    {
        width: 2.5em; /* 40 */
        height: 100%;
        text-align: left;
        text-indent: -9999px;
        cursor: pointer;
        z-index: 2;
        top: 0;
        left: 0;
    }
    .audioplayer:not(.audioplayer-mini) .audioplayer-playpause
    {
        border-right: 1px solid #555;
        border-right-color: rgba( 255, 255, 255, .1 );
    }
    .audioplayer-mini .audioplayer-playpause
    {
        width: 100%;
    }
    .audioplayer-playpause:hover,
    .audioplayer-playpause:focus
    {
        background-color: #222;
    }
    .audioplayer-playpause a
    {
        display: block;
    }
    .audioplayer-stopped .audioplayer-playpause a
    {
        width: 0;
        height: 0;
        border: 0.5em solid transparent; /* 8 */
        border-right: none;
        border-left-color: #fff;
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        margin: -0.5em 0 0 -0.25em; /* 8 4 */
    }
    .audioplayer-playing .audioplayer-playpause a
    {
        width: 0.75em; /* 12 */
        height: 0.75em; /* 12 */
        position: absolute;
        top: 50%;
        left: 50%;
        margin: -0.375em 0 0 -0.375em; /* 6 */
    }
    .audioplayer-playing .audioplayer-playpause a:before,
    .audioplayer-playing .audioplayer-playpause a:after
    {
        width: 40%;
        height: 100%;
        background-color: #fff;
        content: '';
        position: absolute;
        top: 0;
    }
    .audioplayer-playing .audioplayer-playpause a:before
    {
        left: 0;
    }
    .audioplayer-playing .audioplayer-playpause a:after
    {
        right: 0;
    }


    /* timers */

    .audioplayer-time
    {
        width: 4.375em; /* 70 */
        height: 100%;
        line-height: 2.375em; /* 38 */
        text-align: center;
        z-index: 2;
        top: 0;
    }
    .audioplayer-time-current
    {
        border-left: 1px solid #111;
        border-left-color: rgba( 0, 0, 0, .25 );
        left: 2.5em; /* 40 */
    }
    .audioplayer-time-duration
    {
        border-right: 1px solid #555;
        border-right-color: rgba( 255, 255, 255, .1 );
        right: 2.5em; /* 40 */
    }
    .audioplayer-novolume .audioplayer-time-duration
    {
        border-right: 0;
        right: 0;
    }


    /* progress bar of loaded/played */

    .audioplayer-bar
    {
        height: 0.875em; /* 14 */
        background-color: #222;
        cursor: pointer;
        z-index: 1;
        top: 50%;
        right: 6.875em; /* 110 */
        left: 6.875em; /* 110 */
        margin-top: -0.438em; /* 7 */
    }
    .audioplayer-novolume .audioplayer-bar
    {
        right: 4.375em; /* 70 */
    }
    .audioplayer-bar div
    {
        width: 0;
        height: 100%;
        position: absolute;
        left: 0;
        top: 0;
    }
    .audioplayer-bar-loaded
    {
        background-color: #333;
        z-index: 1;
    }
    .audioplayer-bar-played
    {
        background: #007fd1;
        z-index: 2;
    }


    /* volume button */

    .audioplayer-volume
    {
        width: 2.5em; /* 40 */
        height: 100%;
        border-left: 1px solid #111;
        border-left-color: rgba( 0, 0, 0, .25 );
        text-align: left;
        text-indent: -9999px;
        cursor: pointer;
        z-index: 2;
        top: 0;
        right: 0;
    }
    .audioplayer-volume:hover,
    .audioplayer-volume:focus
    {
        background-color: #222;
    }
    .audioplayer-volume-button
    {
        width: 100%;
        height: 100%;
    }
    .audioplayer-volume-button a
    {
        width: 0.313em; /* 5 */
        height: 0.375em; /* 6 */
        background-color: #fff;
        display: block;
        position: relative;
        z-index: 1;
        top: 40%;
        left: 35%;
    }
    .audioplayer-volume-button a:before,
    .audioplayer-volume-button a:after
    {
        content: '';
        position: absolute;
    }
    .audioplayer-volume-button a:before
    {
        width: 0;
        height: 0;
        border: 0.5em solid transparent; /* 8 */
        border-left: none;
        border-right-color: #fff;
        z-index: 2;
        top: 50%;
        right: -0.25em;
        margin-top: -0.5em; /* 8 */
    }
    .audioplayer:not(.audioplayer-muted) .audioplayer-volume-button a:after
    {
        /* "volume" icon by Nicolas Gallagher, http://nicolasgallagher.com/pure-css-gui-icons */
        width: 0.313em; /* 5 */
        height: 0.313em; /* 5 */
        border: 0.25em double #fff; /* 4 */
        border-width: 0.25em 0.25em 0 0; /* 4 */
        left: 0.563em; /* 9 */
        top: -0.063em; /* 1 */
        -webkit-border-radius: 0 0.938em 0 0; /* 15 */
        -moz-border-radius: 0 0.938em 0 0; /* 15 */
        border-radius: 0 0.938em 0 0; /* 15 */
        -webkit-transform: rotate( 45deg );
        -moz-transform: rotate( 45deg );
        -ms-transform: rotate( 45deg );
        -o-transform: rotate( 45deg );
        transform: rotate( 45deg );
    }


    /* volume dropdown */

    .audioplayer-volume-adjust
    {
        height: 6.25em; /* 100 */
        cursor: default;
        position: absolute;
        left: 0;
        right: -1px;
        top: -9999px;
        background: #333;
    }
    .audioplayer-volume:not(:hover) .audioplayer-volume-adjust
    {
        opacity: 0;
    }
    .audioplayer-volume:hover .audioplayer-volume-adjust
    {
        top: auto;
        bottom: 100%;
    }
    .audioplayer-volume-adjust > div
    {
        width: 40%;
        height: 80%;
        background-color: #222;
        cursor: pointer;
        position: relative;
        z-index: 1;
        margin: 30% auto 0;
    }
    .audioplayer-volume-adjust div div
    {
        width: 100%;
        height: 100%;
        position: absolute;
        bottom: 0;
        left: 0;
        background: #007fd1;
    }
    .audioplayer-novolume .audioplayer-volume
    {
        display: none;
    }


    /* CSS3 decorations */

    body
    {
        -webkit-box-shadow: inset 0 0 18.75em rgba( 0, 0, 0, .5 ); /* 300 */
        -moz-box-shadow: inset 0 0 18.75em rgba( 0, 0, 0, 5 ); /* 300 */
        box-shadow: inset 0 0 18.75em rgba( 0, 0, 0, .5 ); /* 300 */
    }
    .audioplayer
    {
        -webkit-box-shadow: inset 0 1px 0 rgba( 255, 255, 255, .15 ), 0 0 1.25em rgba( 0, 0, 0, .5 ); /* 20 */
        -moz-box-shadow: inset 0 1px 0 rgba( 255, 255, 255, .15 ), 0 0 1.25em rgba( 0, 0, 0, .5 ); /* 20 */
        box-shadow: inset 0 1px 0 rgba( 255, 255, 255, .15 ), 0 0 1.25em rgba( 0, 0, 0, .5 ); /* 20 */
    }
    .audioplayer-volume-adjust
    {
        -webkit-box-shadow: -2px -2px 2px rgba( 0, 0, 0, .15 ), 2px -2px 2px rgba( 0, 0, 0, .15 );
        -moz-box-shadow: -2px -2px 2px rgba( 0, 0, 0, .15 ), 2px -2px 2px rgba( 0, 0, 0, .15 );
        box-shadow: -2px -2px 2px rgba( 0, 0, 0, .15 ), 2px -2px 2px rgba( 0, 0, 0, .15 );
    }
    .audioplayer-bar,
    .audioplayer-volume-adjust > div
    {
        -webkit-box-shadow: -1px -1px 0 rgba( 0, 0, 0, .5 ), 1px 1px 0 rgba( 255, 255, 255, .1 );
        -moz-box-shadow: -1px -1px 0 rgba( 0, 0, 0, .5 ), 1px 1px 0 rgba( 255, 255, 255, .1 );
        box-shadow: -1px -1px 0 rgba( 0, 0, 0, .5 ), 1px 1px 0 rgba( 255, 255, 255, .1 );
    }
    .audioplayer-volume-adjust div div,
    .audioplayer-bar-played
    {
        -webkit-box-shadow: inset 0 0 5px rgba( 255, 255, 255, .5 );
        -moz-box-shadow: inset 0 0 5px rgba( 255, 255, 255, .5 );
        box-shadow: inset 0 0 5px rgba( 255, 255, 255, .5 );
    }
    .audioplayer-playpause,
    .audioplayer-volume a
    {
        -webkit-filter: drop-shadow( 1px 1px 0 #000 );
        -moz-filter: drop-shadow( 1px 1px 0 #000 );
        -ms-filter: drop-shadow( 1px 1px 0 #000 );
        -o-filter: drop-shadow( 1px 1px 0 #000 );
        filter: drop-shadow( 1px 1px 0 #000 );
    }
    .audioplayer,
    .audioplayer-volume-adjust
    {
        background: -webkit-gradient( linear, left top, left bottom, from( #444 ), to( #222 ) );
        background: -webkit-linear-gradient( top, #444, #222 );
        background: -moz-linear-gradient( top, #444, #222 );
        background: -ms-radial-gradient( top, #444, #222 );
        background: -o-linear-gradient( top, #444, #222 );
        background: linear-gradient( to bottom, #444, #222 );
    }
    .audioplayer-bar-played
    {
        background: -webkit-gradient( linear, left top, right top, from( #007fd1 ), to( #c600ff ) );
        background: -webkit-linear-gradient( left, #007fd1, #c600ff );
        background: -moz-linear-gradient( left, #007fd1, #c600ff );
        background: -ms-radial-gradient( left, #007fd1, #c600ff );
        background: -o-linear-gradient( left, #007fd1, #c600ff );
        background: linear-gradient( to right, #007fd1, #c600ff );
    }
    .audioplayer-volume-adjust div div
    {
        background: -webkit-gradient( linear, left bottom, left top, from( #007fd1 ), to( #c600ff ) );
        background: -webkit-linear-gradient( bottom, #007fd1, #c600ff );
        background: -moz-linear-gradient( bottom, #007fd1, #c600ff );
        background: -ms-radial-gradient( bottom, #007fd1, #c600ff );
        background: -o-linear-gradient( bottom, #007fd1, #c600ff );
        background: linear-gradient( to top, #007fd1, #c600ff );
    }
    .audioplayer-bar,
    .audioplayer-bar div,
    .audioplayer-volume-adjust div
    {
        -webkit-border-radius: 4px;
        -moz-border-radius: 4px;
        border-radius: 4px;
    }
    .audioplayer
    {
        -webkit-border-radius: 2px;
        -moz-border-radius: 2px;
        border-radius: 2px;
    }
    .audioplayer-volume-adjust
    {
        -webkit-border-top-left-radius: 2px;
        -webkit-border-top-right-radius: 2px;
        -moz-border-radius-topleft: 2px;
        -moz-border-radius-topright: 2px;
        border-top-left-radius: 2px;
        border-top-right-radius: 2px;
    }
    .audioplayer *,
    .audioplayer *:before,
    .audioplayer *:after
    {
        -webkit-transition: color .25s ease, background-color .25s ease, opacity .5s ease;
        -moz-transition: color .25s ease, background-color .25s ease, opacity .5s ease;
        -ms-transition: color .25s ease, background-color .25s ease, opacity .5s ease;
        -o-transition: color .25s ease, background-color .25s ease, opacity .5s ease;
        transition: color .25s ease, background-color .25s ease, opacity .5s ease;
    }

</style>
<!--引入audio的css-->
<!-- daterangepicker -->
<link href="__PUBLIC__/css/daterangepicker.css" rel="stylesheet">
<script src="__PUBLIC__/js/daterangepicker/daterangepicker.js"></script>
<!--jQuery导出插件-->
<script type="text/javascript" src="__PUBLIC__/js/table-export/jquery.base64.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/table-export/tableExport.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/table-export/jspdf/libs/sprintf.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/table-export/jspdf/jspdf.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/table-export/jspdf/libs/base64.js"></script>
<style>
    body{
        overflow-y: hidden;
    }
    table tr td{min-width: 50px;text-align: center;}
    table tr {height: 50px;}
    #oDivL_tab_Test3{background-color: #fff;z-index: inherit !important;}
    .table{max-width: none;}
    .tabTh{background-color: #fff;}
    .ibox-span{
        float: left;
        line-height: 30px;
    }
    .form-horizontal .form-group{margin-left:0px;margin-right:0px;}
    .subnum td{
        color: #ffffff !important;
    }
</style>
<script>
    $(function(){
        var scroll_width = 10;
        $("#table_div").height(window.innerHeight-$("#table_div").offset().top-$("#tfoot_div").height()-20);
        $(window).resize(function(){
            $("#table_div").height(window.innerHeight-$("#table_div").offset().top-$("#tfoot_div").height()-20);
            $("#oDivL_tab_Test3").height($("#table_div").height()-scroll_width-1).width($("#oTableLH_tab_Test3").width());
            $("#oDivH_tab_Test3").height($("#oTableLH_tab_Test3").height()).width($("#table_div").width()-scroll_width);
        });
        $(".nicescroll").niceScroll({
            cursorcolor: "#999",//#CC0071 光标颜色
            cursoropacitymax: 0.4, //改变不透明度非常光标处于活动状态（scrollabar“可见”状态），范围从1到0
            touchbehavior: false, //使光标拖动滚动像在台式电脑触摸设备
            cursorwidth: scroll_width+"px", //像素光标的宽度
            cursorborder: "0", //     游标边框css定义
            cursorborderradius: "3px",//以像素为光标边界半径
            autohidemode: false, //是否隐藏滚动条
            zindex:100,
            background:"#F3F3F5",//滚动条背景色
        });
        $("#tab_Test3").FrozenTable(1,0,1);
        $("#oDivL_tab_Test3").height($("#table_div").height()).width($("#oTableLH_tab_Test3").width());
        $("#oDivH_tab_Test3").height($("#oTableLH_tab_Test3").height()).width($("#table_div").width());
    })

</script>
<div class="wrapper wrapper-content ">
    <div class="row">
        <div class="col-lg-12">
            <div class="ibox float-e-margins">
                <include file="Phone:phone_left" />
                <input type="hidden" id="content_id" value="{$content_id}">
                <div class="col-lg-11">
                    <div class="ibox-content" style="padding-bottom:10px;border-bottom:none;">
                        <include file="Public:alert" />
                        <form id="" class="form-group" method="get" style="margin-bottom: 0px;">
                            <input type="hidden" name="m" value="phone" />
                            <input type="hidden" name="a" value="index" />
                            <div class="form-inline">
                                坐席号码:<input type="number" class="form-control" name="caller" onblur="checkphone(this);"/>
                                被叫号码:<input type="number" class="form-control" name="callee" onblur="checkphone(this);"/>
                                方向:<select name="context">
                                <option value="0" selected="selected">呼出</option>
                                <option value="1">呼入</option>
                            </select>
                                通话时长:<select name="by"><option value="0">小于</option><option selected="selected" value="1">大于</option></select>
                                <input class="form-control" type="number" name="billsecond" placeholder="秒"/>
                                &nbsp;&nbsp;呼叫时间:<input class="form-control Wdate" input_type="time" onfocus="WdatePicker({dateFmt: 'yyyy-MM-dd H:m:s'})" name="start_time" id="start_time" value="" type="text">
                                至<input class="form-control Wdate" input-type="time" onfocus="WdatePicker({dateFmt: 'yyyy-MM-dd H:m:s'})" name="end_time" id="end_time" value="" type="text"/>
                                <div class="nav pull-right" style="margin-right: 20px;">
                                    <button type="submit" id="analytics_search" class="btn btn-primary">{:L('SEARCH')}</button>
                                </div>
                            </div>
                        </form>
                    </div>

                    <div class="ibox-content" id="right_height" style="border-top: none;padding-top: 0px;">
                        <div id="report_content" class="th_content" style="position:relative;">
                            <div id="table_div" class="nicescroll" style="left:0px;top:0px;">
                                <table class="table table-hover table-striped table-bordered" id="tab_Test3" style="background:#fff;margin-bottom:0px;">
                                    <tr class="tabTh">
                                        <td style="min-width:100px;">id</td>
                                        <td style="min-width:100px;">方向</td>
                                        <td style="min-width: 100px;">主叫联系人</td>
                                        <td style="min-width: 100px;">主叫号码</td>
                                        <td style="min-width: 80px;">被叫号码</td>
                                        <!--<td style="min-width: 80px;">外显</td>-->
                                        <!--<td style="min-width: 80px;">被叫联系人</td>-->
                                        <td style="min-width: 80px;">呼叫时间</td>
                                        <td style="min-width: 80px;">通话结束时间</td>
                                        <td style="min-width: 80px;">消费分钟</td>
                                        <td style="min-width: 80px;">跟踪记录</td>
                                        <td style="min-width: 250px;">录音</td>
<!--                                        <td style="min-width: 80px;">挂断原因</td>
                                        <td style="min-width: 80px;">按键</td>
                                        <td style="min-width: 80px;">区域</td>
                                        <td style="min-width: 80px;">评价</td>
                                        <td style="min-width: 80px;">质检</td>
                                        <td style="min-width: 80px;">经过路由</td>-->
                                    </tr>
                                    <tbody>
                                    <volist name="msg" id="vo">
                                        <tr class="tabTh">
                                            <td style="min-width:100px;">{$vo.id}</td>
                                            <td  style="min-width:100px;"><if condition="$vo.direction eq '0'">呼出<else />呼入</if></td>
                                            <td style="min-width: 100px;">主叫联系人</td>
                                            <td style="min-width: 100px;">{$vo.callerNum}</td>
                                            <td style="min-width: 80px;">{$vo.calleeNum}</td>
                                            <!--<td style="min-width: 80px;">外显</td>-->
                                            <!--<td style="min-width: 80px;">被叫联系人</td>-->
                                            <td style="min-width: 80px;">{$vo.callOutAnswerTime}</td>
                                            <td style="min-width: 80px;">{$vo.callEndTime}</td>
                                            <td style="min-width: 80px;">{$vo.callmin}</td>
                                            <td style="min-width: 80px;">跟踪记录</td>
                                            <td style="min-width: 250px;">
                                                <if condition="$vo.recordFlag eq 1">
                                                    <a href="{$vo.recordFileDownloadUrl}">下载</a>&nbsp;&nbsp;&nbsp;&nbsp;
                                                    <audio preload="auto" controls>
                                                        <source src="{$vo.recordFileDownloadUrl}" />
                                                    </audio>
                                                    <else/>
                                                    <font color="red">无录音记录</font>
                                                </if>
                                            </td>
<!--                                            <td style="min-width: 80px;">挂断原因</td>
                                            <td style="min-width: 80px;">按键</td>
                                            <td style="min-width: 80px;">区域</td>
                                            <td style="min-width: 80px;">评价</td>
                                            <td style="min-width: 80px;">质检</td>
                                            <td style="min-width: 80px;">经过路由</td>-->
                                        </tr>
                                    </volist>
                                    </tbody>
                                </table>
                            </div>
                            <div id="tfoot_div" class="clearfix">
                            </div>
                        </div>
                        <div id="source_content" class="hidden">
                            <div id="an_chart" class="">
                                <div id="canvas_resource" style="min-width: 500px; height: 500px;margin: 0 auto"></div>
                            </div>
                        </div>
                        <div class="clearfix"></div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<div id="right-sidebar-log">
    <!--the css for jquery.mCustomScrollbar-->
    <link rel="stylesheet" href="__PUBLIC__/emoji/css/jquery.mCustomScrollbar.min.css"/>
    <!--the css for this plugin-->
    <link rel="stylesheet" href="__PUBLIC__/emoji/css/jquery.emoji.css"/>
    <!--(Optional) the js for jquery.mCustomScrollbar's addon-->
    <script src="__PUBLIC__/emoji/js/jquery.mousewheel-3.0.6.min.js"></script>
    <!--the js for jquery.mCustomScrollbar-->
    <script src="__PUBLIC__/emoji/js/jquery.mCustomScrollbar.min.js"></script>
    <!--the js for this plugin-->
    <script src="__PUBLIC__/emoji/js/jquery.emoji.js"></script>
    <div class="sidebar-container" id="sidebar-container">
    </div>
</div>

<script type="text/javascript">
    //时间插件
    $('#reservation').daterangepicker({
        startDate: '{$start_date}',
        endDate: '{$end_date}',
        //minDate: '01/01/2012',    //最小时间
        maxDate : moment(), //最大时间
        showDropdowns : true,
        showWeekNumbers : false, //是否显示第几周
        // timePicker : true, //是否显示小时和分钟
        // timePickerIncrement : 60, //时间的增量，单位为分钟
        timePicker12Hour : false, //是否使用12小时制来显示时间
        ranges : {
            //'最近1小时': [moment().subtract('hours',1), moment()],
            '今日': [moment().startOf('day'), moment()],
            '昨日': [moment().subtract('days', 1).startOf('day'), moment().subtract('days', 1).endOf('day')],
            '上月': [moment().subtract('days', '{$daterange[0][start_day]}'), moment().subtract('days', '{$daterange[0][end_day]}')],
            '本月': [moment().subtract('days', '{$daterange[1][start_day]}'), moment()],
            '上季度': [moment().subtract('days', '{$daterange[2][start_day]}'), moment().subtract('days', '{$daterange[2][end_day]}')],
            '本季度': [moment().subtract('days', '{$daterange[3][start_day]}'), moment()],
            '上一年': [moment().subtract('days', '{$daterange[4][start_day]}'), moment().subtract('days', '{$daterange[4][end_day]}')],
            '本年': [moment().subtract('days', '{$daterange[5][start_day]}'), moment()],
            // '最近7日': [moment().subtract('days', 6), moment()],
            // '最近30日': [moment().subtract('days', 29), moment()]
        },
        opens : 'right', //日期选择框的弹出位置
        buttonClasses : [ 'btn btn-default' ],
        applyClass : 'btn-small btn-primary blue',
        cancelClass : 'btn-small',
        separator : ' to ',
        locale : {
            applyLabel : '确定',
            cancelLabel : '取消',
            fromLabel : '起始时间',
            toLabel : '结束时间',
            customRangeLabel : '自定义',
            daysOfWeek : [ '日', '一', '二', '三', '四', '五', '六' ],
            monthNames: ["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],
            firstDay : 1 ,
            format : 'YYYY-MM-DD', //控件中from和to 显示的日期格式
        },
        "alwaysShowCalendars": true,
        function(start, end, label) {
            //回调
            $('#reservation').val(start.format('YYYY-MM-DD HH:mm:ss') + ' - ' + end.format('YYYY-MM-DD HH:mm:ss'));
            // console.log("New date range selected: ' + start.format('YYYY-MM-DD') + ' to ' + end.format('YYYY-MM-DD') + ' (predefined range: ' + label + ')");
        }
    });

    
    //校验=手机号格式
    function checkphone(obj) {
        var flag = false;
        var myreg = /^(0|86|17951)?1[0-9]{10}$/;
        if( obj.value != '' && !myreg.test(obj.value)){
            flag = true ;
            swal('手机格式有误',"","warning");
        }
        if(flag)
            $('#analytics_search').attr('disabled',true);
        else
            $('#analytics_search').attr('disabled',false);
    }

</script>
<include file="Public:footer" />
<script src="__PUBLIC__/js/audio/audioplayer.js"></script>
<script>
    $( 'audio' ).audioPlayer(
        {
            classPrefix: 'audioplayer',
            strPlay: 'Play',
            strPause: 'Pause',
            strVolume: 'Volume'
        });
</script>

<style>
    table tbody tr{
        cursor: inherit;
    }
</style>
<style>
    .slimScrollDiv{
        overflow: inherit !important;
    }

    .sidebar-container ul.nav-tabs li a{
        background: #fff !important;
        color: #a7b1c2 !important;
        font-weight: 600 !important;
        padding: 14px 20px 14px !important;
        border-right: none !important;
    }
    .sidebar-container nav{
        display: none;
    }
    .sidebar-container #page-wrapper{
        margin-left: 0px;
    }
    #sidebar-container{
        box-shadow: rgb(187, 187, 187) -1px 10px 10px;
        border: 2px solid rgb(238, 238, 238);
    }

    #right-sidebar-log{
        width: 60%;
        right: -60%;
        background-color: #fff;
        position: fixed;
        top: 60px;
        z-index: 1009;
        bottom: 0;
        box-shadow: -5px -5px 1px #ccc;
    }

</style>
